package com.project.service.impl.backend.basic;


import com.project.dao.RolelimitDao;
import com.project.dao.bean.Rolelimit;
import com.project.service.backend.basic.RolelimitService;

public class RolelimitServiceImpl implements RolelimitService {
	
	private RolelimitDao rolelimitDao;
	
	public void setRolelimitDao(RolelimitDao rolelimitDao) {
		this.rolelimitDao = rolelimitDao;
	}

	@Override
	public void save(Rolelimit rolelimit) throws Exception {
		rolelimitDao.save(rolelimit);
	}

	@Override
	public void delete(Rolelimit rolelimit) throws Exception {
		// TODO Auto-generated method stub
		rolelimitDao.delete(rolelimit);
	}

	@Override
	public int findRoleId() throws Exception {
		// TODO Auto-generated method stub
		return rolelimitDao.findRoleId();
	}



}
